// CherryMerry ( Mikhail Tomilenko ), Reverse Entertainment, 2021-2024


#include "../Public/LVLInfo.h"

#include <Kismet/KismetMathLibrary.h>
#include "Components/ProgressBar.h"
#include "Components/TextBlock.h"

void ULVLInfo::UpdateWidgetInfo(int32 CurrentLVL, int32 CurrentEXP, int32 MaxEXP, float CurrentLVLProgress)
{
	TextBlock_CurrentLVL->SetText(FText::AsNumber(CurrentLVL));
	TextBlock_CurrentEXP->SetText(FText::AsNumber(CurrentEXP));
	TextBlock_MaxEXP->SetText(FText::AsNumber(MaxEXP));
	ProgressBar_CurrentLVLProgress->SetPercent(CurrentLVLProgress);
}
